package fm.dongman.animefm.view.activity;

import android.content.pm.PackageManager;
import android.os.Bundle;
import android.support.annotation.NonNull;
import android.support.annotation.Nullable;

import fm.dongman.animefm.R;
import fm.dongman.animefm.view.fragment.SettingsFragment;
import fm.dongman.animefm.view.util.ToastHelper;

/**
 * 设置页面
 * Created by KUIGE on 2017/10/24.
 */

public class SettingActivity extends BaseActivity {
    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_single);
    }

    @Override
    protected void onStart() {
        super.onStart();
        getFragmentManager().beginTransaction()
                .replace(R.id.mSingleContent, addFragment())
                .commit();
    }

    protected SettingsFragment addFragment() {
        return new SettingsFragment();
    }
}
